home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
.net (Turkey) 1998 March
/
.net Internet Dergisi - CD 5.iso
/
pc
/
CON_BM
/
00284_Script_284
< prev
next >
Wrap
Text File
|
1997-11-07
|
971b
|
34 lines
--Custom Cursor Bit
on setUpCursor theMember
-- Sets up the custom cursor so that it can be run from any frame.
puppetSprite 48, true
set the member of sprite 48 = member theMember
cursor 200
-- this turns off the real cursor
end
-- thisSprite is a sprite channel where the custom cursor will live.
-- It's usually channel 48 so that the custom cursor will stay on
-- top of everything else on the stage.
-- thisMember is the cast member number that will be the
-- custom sprite. There are 3 to choose from in this sample.
-----------
on colorCursor
set the loc of sprite 48 to point(the mouseH,the MouseV)
updatestage
end
-- this handler along with a set up handler that's called
-- in the startMovie handler turns off the original cursor
-- and substitutes a custom color cursor.
-- Use channel 48 for the custom cursor.
-- That way it will stay on top of everything else on the stage.
---------------